<template>
  <view class="container">
    <view @tap="login">这是认证测试页</view>
  </view>
</template>

<script>
export default {
  name: "Demo_WxLogin",
  mounted() {},
  methods: {
    login() {
      uni.login({
        success(res1) {
          console.log(res1)
        }
      })
      /*console.log(123)
      uni.getUserInfo({
        success(res) {
          console.log(res)
          uni.login({
            success(res1) {
              console.log(res1)
            }
          })
        }
      })*/
    },
  }
}
</script>